<xs:schema id="PortalDataSet" targetNamespace="http://tempuri.org/PortalDataSet.xsd" xmlns:mstns="http://tempuri.org/PortalDataSet.xsd" xmlns="http://tempuri.org/PortalDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified" msdata:schemafragmentcount="2">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="PortalDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="PortalDataSet" msprop:Generator_DataSetName="PortalDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Portal" msprop:Generator_UserTableName="Portal" msprop:Generator_RowDeletedName="PortalRowDeleted" msprop:Generator_RowChangedName="PortalRowChanged" msprop:Generator_RowClassName="PortalRow" msprop:Generator_RowChangingName="PortalRowChanging" msprop:Generator_RowEvArgName="PortalRowChangeEvent" msprop:Generator_RowEvHandlerName="PortalRowChangeEventHandler" msprop:Generator_TableClassName="PortalDataTable" msprop:Generator_TableVarName="tablePortal" msprop:Generator_RowDeletingName="PortalRowDeleting" msprop:Generator_TablePropName="Portal">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Slogan" msprop:Generator_UserColumnName="Slogan" msprop:Generator_ColumnPropNameInRow="Slogan" msprop:Generator_ColumnVarNameInTable="columnSlogan" msprop:Generator_ColumnPropNameInTable="SloganColumn" type="xs:string" minOccurs="0" msdata:Ordinal="2" />
              <xs:element name="Layout" msprop:Generator_UserColumnName="Layout" msprop:Generator_ColumnVarNameInTable="columnLayout" msprop:Generator_ColumnPropNameInRow="Layout" msprop:Generator_ColumnPropNameInTable="LayoutColumn" type="xs:string" minOccurs="0" msdata:Ordinal="3" />
              <xs:element name="DefaultTheme" msprop:Generator_UserColumnName="DefaultTheme" msprop:Generator_ColumnVarNameInTable="columnDefaultTheme" msprop:Generator_ColumnPropNameInRow="DefaultTheme" msprop:Generator_ColumnPropNameInTable="DefaultThemeColumn" type="xs:string" minOccurs="0" msdata:Ordinal="4" />
              <xs:element name="Language" msprop:Generator_UserColumnName="Language" msprop:Generator_ColumnPropNameInRow="Language" msprop:Generator_ColumnVarNameInTable="columnLanguage" msprop:Generator_ColumnPropNameInTable="LanguageColumn" type="xs:string" default="en-US" minOccurs="0" msdata:Ordinal="6" />
              <xs:element name="AllowRegister" msprop:Generator_UserColumnName="AllowRegister" msprop:Generator_ColumnVarNameInTable="columnAllowRegister" msprop:Generator_ColumnPropNameInRow="AllowRegister" msprop:Generator_ColumnPropNameInTable="AllowRegisterColumn" type="xs:boolean" default="true" minOccurs="0" msdata:Ordinal="7" />
              <xs:element name="RegisterAgreement" msprop:Generator_UserColumnName="RegisterAgreement" msprop:Generator_ColumnPropNameInRow="RegisterAgreement" msprop:Generator_ColumnVarNameInTable="columnRegisterAgreement" msprop:Generator_ColumnPropNameInTable="RegisterAgreementColumn" type="xs:string" minOccurs="0" msdata:Ordinal="8" />
              <xs:element name="WebMasterName" msprop:Generator_UserColumnName="WebMasterName" msprop:Generator_ColumnPropNameInRow="WebMasterName" msprop:Generator_ColumnVarNameInTable="columnWebMasterName" msprop:Generator_ColumnPropNameInTable="WebMasterNameColumn" type="xs:string" minOccurs="0" msdata:Ordinal="9" />
              <xs:element name="WebMasterEmail" msprop:Generator_UserColumnName="WebMasterEmail" msprop:Generator_ColumnPropNameInRow="WebMasterEmail" msprop:Generator_ColumnVarNameInTable="columnWebMasterEmail" msprop:Generator_ColumnPropNameInTable="WebMasterEmailColumn" type="xs:string" minOccurs="0" msdata:Ordinal="10" />
              <xs:element name="WebMasterPhone" msprop:Generator_UserColumnName="WebMasterPhone" msprop:Generator_ColumnPropNameInRow="WebMasterPhone" msprop:Generator_ColumnVarNameInTable="columnWebMasterPhone" msprop:Generator_ColumnPropNameInTable="WebMasterPhoneColumn" type="xs:string" minOccurs="0" msdata:Ordinal="11" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="Title" form="unqualified" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" type="xs:string" />
            <xs:attribute name="AlwaysShowEditButton" form="unqualified" msprop:Generator_UserColumnName="AlwaysShowEditButton" msprop:Generator_ColumnVarNameInTable="columnAlwaysShowEditButton" msprop:Generator_ColumnPropNameInRow="AlwaysShowEditButton" msprop:Generator_ColumnPropNameInTable="AlwaysShowEditButtonColumn" type="xs:boolean" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Tab" msprop:Generator_UserTableName="Tab" msprop:Generator_RowDeletedName="TabRowDeleted" msprop:Generator_RowChangedName="TabRowChanged" msprop:Generator_RowClassName="TabRow" msprop:Generator_RowChangingName="TabRowChanging" msprop:Generator_RowEvArgName="TabRowChangeEvent" msprop:Generator_RowEvHandlerName="TabRowChangeEventHandler" msprop:Generator_TableClassName="TabDataTable" msprop:Generator_TableVarName="tableTab" msprop:Generator_RowDeletingName="TabRowDeleting" msprop:Generator_TablePropName="Tab">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PortalID" msprop:Generator_UserColumnName="PortalID" msprop:Generator_ColumnVarNameInTable="columnPortalID" msprop:Generator_ColumnPropNameInRow="PortalID" msprop:Generator_ColumnPropNameInTable="PortalIDColumn" type="xs:int" minOccurs="0" msdata:Ordinal="1" />
              <xs:element name="ParentID" msprop:Generator_UserColumnName="ParentID" msprop:Generator_ColumnPropNameInRow="ParentID" msprop:Generator_ColumnVarNameInTable="columnParentID" msprop:Generator_ColumnPropNameInTable="ParentIDColumn" type="xs:int" default="0" minOccurs="0" msdata:Ordinal="2" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" minOccurs="0" msdata:Ordinal="3" />
              <xs:element name="ThemeName" msprop:Generator_UserColumnName="ThemeName" msprop:Generator_ColumnVarNameInTable="columnThemeName" msprop:Generator_ColumnPropNameInRow="ThemeName" msprop:Generator_ColumnPropNameInTable="ThemeNameColumn" type="xs:string" default="Blue" minOccurs="0" msdata:Ordinal="6" />
              <xs:element name="ShowLeftPane" msprop:Generator_UserColumnName="ShowLeftPane" msprop:Generator_ColumnPropNameInRow="ShowLeftPane" msprop:Generator_ColumnVarNameInTable="columnShowLeftPane" msprop:Generator_ColumnPropNameInTable="ShowLeftPaneColumn" type="xs:boolean" minOccurs="0" msdata:Ordinal="7" />
              <xs:element name="ShowRightPane" msprop:Generator_UserColumnName="ShowRightPane" msprop:Generator_ColumnPropNameInRow="ShowRightPane" msprop:Generator_ColumnVarNameInTable="columnShowRightPane" msprop:Generator_ColumnPropNameInTable="ShowRightPaneColumn" type="xs:boolean" minOccurs="0" msdata:Ordinal="8" />
              <xs:element name="ShowOnMenu" msprop:Generator_UserColumnName="ShowOnMenu" msprop:Generator_ColumnVarNameInTable="columnShowOnMenu" msprop:Generator_ColumnPropNameInRow="ShowOnMenu" msprop:Generator_ColumnPropNameInTable="ShowOnMenuColumn" type="xs:boolean" minOccurs="0" msdata:Ordinal="9" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="AuthorizedRoles" form="unqualified" msprop:Generator_UserColumnName="AuthorizedRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedRolesColumn" type="xs:string" />
            <xs:attribute name="Order" form="unqualified" msprop:Generator_UserColumnName="Order" msprop:Generator_ColumnVarNameInTable="columnOrder" msprop:Generator_ColumnPropNameInRow="Order" msprop:Generator_ColumnPropNameInTable="OrderColumn" type="xs:int" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Module" msprop:Generator_UserTableName="Module" msprop:Generator_RowDeletedName="ModuleRowDeleted" msprop:Generator_RowChangedName="ModuleRowChanged" msprop:Generator_RowClassName="ModuleRow" msprop:Generator_RowChangingName="ModuleRowChanging" msprop:Generator_RowEvArgName="ModuleRowChangeEvent" msprop:Generator_RowEvHandlerName="ModuleRowChangeEventHandler" msprop:Generator_TableClassName="ModuleDataTable" msprop:Generator_TableVarName="tableModule" msprop:Generator_RowDeletingName="ModuleRowDeleting" msprop:Generator_TablePropName="Module">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" type="xs:string" minOccurs="0" msdata:Ordinal="1" />
              <xs:element name="ShowEveryWhere" msprop:Generator_UserColumnName="ShowEveryWhere" msprop:Generator_ColumnVarNameInTable="columnShowEveryWhere" msprop:Generator_ColumnPropNameInRow="ShowEveryWhere" msprop:Generator_ColumnPropNameInTable="ShowEveryWhereColumn" type="xs:boolean" default="false" minOccurs="0" msdata:Ordinal="2" />
              <xs:element name="AuthorizedViewRoles" msprop:Generator_UserColumnName="AuthorizedViewRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedViewRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedViewRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedViewRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="8" />
              <xs:element name="AuthorizedEditRoles" msprop:Generator_UserColumnName="AuthorizedEditRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedEditRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedEditRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedEditRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="9" />
              <xs:element name="AuthorizedAddRoles" msprop:Generator_UserColumnName="AuthorizedAddRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedAddRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedAddRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedAddRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="10" />
              <xs:element name="AuthorizedDeleteRoles" msprop:Generator_UserColumnName="AuthorizedDeleteRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedDeleteRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedDeleteRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedDeleteRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="11" />
              <xs:element name="AuthorizedSettingRoles" msprop:Generator_UserColumnName="AuthorizedSettingRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedSettingRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedSettingRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedSettingRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="12" />
              <xs:element name="AuthorizedManagerRoles" msprop:Generator_UserColumnName="AuthorizedManagerRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedManagerRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedManagerRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedManagerRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="13" />
              <xs:element name="AuthorizedSecurityRoles" msprop:Generator_UserColumnName="AuthorizedSecurityRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedSecurityRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedSecurityRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedSecurityRolesColumn" type="xs:string" minOccurs="0" msdata:Ordinal="14" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="ModuleDefinitionID" form="unqualified" msprop:Generator_UserColumnName="ModuleDefinitionID" msprop:Generator_ColumnVarNameInTable="columnModuleDefinitionID" msprop:Generator_ColumnPropNameInRow="ModuleDefinitionID" msprop:Generator_ColumnPropNameInTable="ModuleDefinitionIDColumn" type="xs:int" />
            <xs:attribute name="PaneName" form="unqualified" msprop:Generator_UserColumnName="PaneName" msprop:Generator_ColumnVarNameInTable="columnPaneName" msprop:Generator_ColumnPropNameInRow="PaneName" msprop:Generator_ColumnPropNameInTable="PaneNameColumn" type="xs:string" />
            <xs:attribute name="CacheTimeout" form="unqualified" msprop:Generator_UserColumnName="CacheTimeout" msprop:Generator_ColumnVarNameInTable="columnCacheTimeout" msprop:Generator_ColumnPropNameInRow="CacheTimeout" msprop:Generator_ColumnPropNameInTable="CacheTimeoutColumn" type="xs:int" />
            <xs:attribute name="Order" form="unqualified" msprop:Generator_UserColumnName="Order" msprop:Generator_ColumnVarNameInTable="columnOrder" msprop:Generator_ColumnPropNameInRow="Order" msprop:Generator_ColumnPropNameInTable="OrderColumn" type="xs:int" />
            <xs:attribute name="TabID" form="unqualified" msprop:Generator_UserColumnName="TabID" msprop:Generator_ColumnVarNameInTable="columnTabID" msprop:Generator_ColumnPropNameInRow="TabID" msprop:Generator_ColumnPropNameInTable="TabIDColumn" type="xs:int" />
          </xs:complexType>
        </xs:element>
        <xs:element name="ModuleSetting" msprop:Generator_UserTableName="ModuleSetting" msprop:Generator_RowDeletedName="ModuleSettingRowDeleted" msprop:Generator_RowChangedName="ModuleSettingRowChanged" msprop:Generator_RowClassName="ModuleSettingRow" msprop:Generator_RowChangingName="ModuleSettingRowChanging" msprop:Generator_RowEvArgName="ModuleSettingRowChangeEvent" msprop:Generator_RowEvHandlerName="ModuleSettingRowChangeEventHandler" msprop:Generator_TableClassName="ModuleSettingDataTable" msprop:Generator_TableVarName="tableModuleSetting" msprop:Generator_RowDeletingName="ModuleSettingRowDeleting" msprop:Generator_TablePropName="ModuleSetting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Key" msprop:Generator_UserColumnName="Key" msprop:Generator_ColumnPropNameInRow="Key" msprop:Generator_ColumnVarNameInTable="columnKey" msprop:Generator_ColumnPropNameInTable="KeyColumn" type="xs:string" minOccurs="0" msdata:Ordinal="2" />
              <xs:element name="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInTable="ValueColumn" type="xs:string" minOccurs="0" msdata:Ordinal="3" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="ModuleID" form="unqualified" msprop:Generator_UserColumnName="ModuleID" msprop:Generator_ColumnVarNameInTable="columnModuleID" msprop:Generator_ColumnPropNameInRow="ModuleID" msprop:Generator_ColumnPropNameInTable="ModuleIDColumn" type="xs:int" />
          </xs:complexType>
        </xs:element>
        <xs:element name="ModuleDefinition" msprop:Generator_UserTableName="ModuleDefinition" msprop:Generator_RowDeletedName="ModuleDefinitionRowDeleted" msprop:Generator_RowChangedName="ModuleDefinitionRowChanged" msprop:Generator_RowClassName="ModuleDefinitionRow" msprop:Generator_RowChangingName="ModuleDefinitionRowChanging" msprop:Generator_RowEvArgName="ModuleDefinitionRowChangeEvent" msprop:Generator_RowEvHandlerName="ModuleDefinitionRowChangeEventHandler" msprop:Generator_TableClassName="ModuleDefinitionDataTable" msprop:Generator_TableVarName="tableModuleDefinition" msprop:Generator_RowDeletingName="ModuleDefinitionRowDeleting" msprop:Generator_TablePropName="ModuleDefinition">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="GeneralDefinitionID" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="GeneralDefinitionID" msprop:Generator_ColumnVarNameInTable="columnGeneralDefinitionID" msprop:Generator_ColumnPropNameInRow="GeneralDefinitionID" msprop:Generator_ColumnPropNameInTable="GeneralDefinitionIDColumn" type="xs:string" minOccurs="0" msdata:Ordinal="3" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msdata:Caption="ModuleDefId" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="Name" form="unqualified" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" />
            <xs:attribute name="SourceFile" form="unqualified" msprop:Generator_UserColumnName="SourceFile" msprop:Generator_ColumnVarNameInTable="columnSourceFile" msprop:Generator_ColumnPropNameInRow="SourceFile" msprop:Generator_ColumnPropNameInTable="SourceFileColumn" type="xs:string" />
          </xs:complexType>
        </xs:element>
        <xs:element name="PortalSetting" msprop:Generator_UserTableName="PortalSetting" msprop:Generator_RowDeletedName="PortalSettingRowDeleted" msprop:Generator_RowChangedName="PortalSettingRowChanged" msprop:Generator_RowClassName="PortalSettingRow" msprop:Generator_RowChangingName="PortalSettingRowChanging" msprop:Generator_RowEvArgName="PortalSettingRowChangeEvent" msprop:Generator_RowEvHandlerName="PortalSettingRowChangeEventHandler" msprop:Generator_TableClassName="PortalSettingDataTable" msprop:Generator_TableVarName="tablePortalSetting" msprop:Generator_RowDeletingName="PortalSettingRowDeleting" msprop:Generator_TablePropName="PortalSetting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="PortalID" msprop:Generator_UserColumnName="PortalID" msprop:Generator_ColumnPropNameInRow="PortalID" msprop:Generator_ColumnVarNameInTable="columnPortalID" msprop:Generator_ColumnPropNameInTable="PortalIDColumn" type="xs:int" default="1" minOccurs="0" />
              <xs:element name="Key" msprop:Generator_UserColumnName="Key" msprop:Generator_ColumnPropNameInRow="Key" msprop:Generator_ColumnVarNameInTable="columnKey" msprop:Generator_ColumnPropNameInTable="KeyColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInTable="ValueColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="GlobalKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Portal" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:unique name="TabKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Tab" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:unique name="ModuleKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Module" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ModuleSetting" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:unique name="ModDefKey1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ModuleDefinition" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:unique name="PortalSetting_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PortalSetting" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:keyref name="FK_Global_PortalSetting" refer="GlobalKey" msprop:rel_Generator_UserRelationName="FK_Global_PortalSetting" msprop:rel_Generator_RelationVarName="relationFK_Global_PortalSetting" msprop:rel_Generator_UserChildTable="PortalSetting" msprop:rel_Generator_UserParentTable="Portal" msprop:rel_Generator_ParentPropName="PortalRow" msprop:rel_Generator_ChildPropName="GetPortalSettingRows">
      <xs:selector xpath=".//mstns:PortalSetting" />
      <xs:field xpath="mstns:PortalID" />
    </xs:keyref>
    <xs:keyref name="Module_Settings" refer="ModuleKey" msprop:rel_Generator_UserRelationName="Module_Settings" msprop:rel_Generator_RelationVarName="relationModule_Settings" msprop:rel_Generator_UserChildTable="ModuleSetting" msprop:rel_Generator_UserParentTable="Module" msprop:rel_Generator_ParentPropName="ModuleRow" msprop:rel_Generator_ChildPropName="GetModuleSettingRows">
      <xs:selector xpath=".//mstns:ModuleSetting" />
      <xs:field xpath="@ModuleID" />
    </xs:keyref>
    <xs:keyref name="FK_ModuleDefinition_Module" refer="ModDefKey1" msprop:rel_Generator_UserRelationName="FK_ModuleDefinition_Module" msprop:rel_Generator_RelationVarName="relationFK_ModuleDefinition_Module" msprop:rel_Generator_UserChildTable="Module" msprop:rel_Generator_UserParentTable="ModuleDefinition" msprop:rel_Generator_ParentPropName="ModuleDefinitionRow" msprop:rel_Generator_ChildPropName="GetModuleRows">
      <xs:selector xpath=".//mstns:Module" />
      <xs:field xpath="@ModuleDefinitionID" />
    </xs:keyref>
    <xs:keyref name="FK_Tab_Module" refer="TabKey" msprop:rel_Generator_UserRelationName="FK_Tab_Module" msprop:rel_Generator_RelationVarName="relationFK_Tab_Module" msprop:rel_Generator_UserChildTable="Module" msprop:rel_Generator_UserParentTable="Tab" msprop:rel_Generator_ParentPropName="TabRow" msprop:rel_Generator_ChildPropName="GetModuleRows">
      <xs:selector xpath=".//mstns:Module" />
      <xs:field xpath="@TabID" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Global_Tab" msdata:parent="Portal" msdata:child="Tab" msdata:parentkey="ID" msdata:childkey="PortalID" msprop:Generator_UserRelationName="Global_Tab" msprop:Generator_RelationVarName="relationGlobal_Tab" msprop:Generator_UserChildTable="Tab" msprop:Generator_UserParentTable="Portal" msprop:Generator_ParentPropName="PortalRow" msprop:Generator_ChildPropName="GetTabRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>